export default [
    {
        path: '/users',
        name: 'users',
        meta: {
            login: true,
            title: '用户列表'
        },
        component: () => import('../user/users'),
    },
    {
        path: '/roles',
        name: 'roles',
        meta: {
            login: true,
            title: '角色列表'
        },
        component: () => import('../rights/roles'),
    },
    {
        path: '/rights',
        name: 'rights',
        meta: {
            login: true,
            title: '权限列表'
        },
        component: () => import('../rights/rights'),
    },{
        path: '/goods',
        name: 'goods',
        meta: {
            login: true,
            title: '商品列表'
        },
        component: () => import('../goods/goods'),
    },
    {
        path: '/params',
        name: 'params',
        meta: {
            login: true,
            title: '分类参数'
        },
        component: () => import('../goods/params'),
    },
    {
        path: '/categories',
        name: 'categories',
        meta: {
            login: true,
            title: '商品分类'
        },
        component: () => import('../goods/categories'),
    },
    {
        path: '/orders',
        name: 'orders',
        meta: {
            login: true,
            title: '订单列表'
        },
        component: () => import('../orders'),
    },
    {
        path: '/reports',
        name: 'reports',
        meta: {
            login: true,
            title: '数据报表'
        },
        component: () => import('../ReportsEcharts/reports'),
    },
    {
        path: '/welcome',
        name: 'welcome',
        meta: {
            login: true,
            title: '欢迎'
        },
        component: () => import('../welcome'),

    }
]